package com.zgz.park.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zgz.park.pojo.Admin;
import com.zgz.park.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author willie
 * @since 2022-12-10
 */
public interface UserMapper extends BaseMapper<User> {
    public User login(String userName,String password);

    IPage<User> getUserListByPage(IPage<User> page, @Param("w") Map<String, Object> params);
}
